#' @export
convert.chisq.to.p <- function(chisq, df, lower.tail=FALSE) {
return(2*stats::pchisq(chisq, df, lower.tail=lower.tail));
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.